import request from "@/utils/request";

// 查询日常检查列表
export function getDailyInspectionList(data) {
    return request({
        url: "/front/flat/house/picture/appletList",
        method: "get",
        params: data,
    });
}
// 新增日常检查
export function addDailyInspection(data) {
    return request({
        url: "/front/flat/house/picture",
        method: "post",
        data: data,
    });
}

// 查询日常检查详情（路径传房屋相册id）
export function getDailyInspectionDetail(id) {
    return request({
        url: "/front/flat/house/picture/" + id,
        method: "get",
    });
}

// 查询保洁流程列表-树形结构
export function getCleaningProcessTree(params) {
    return request({
        url: "/front/flat/house/cleaningProcess/tree",
        method: "get",
        params:params,
    });
}
